class UrlMappings {

	static mappings = {
		"/$controller/$action?/$id?"{
			constraints {
				// apply constraints here
			}

			
		}

		"/login/$action?"(controller: "login")
		"/logout/$action?"(controller: "logout")
		
		"/"	{ 
			controller = "timeTracker"
		}
		"500"(view:'/error')
		{
			controller = "timeTracker"
		}
	}
}
